package defpackage; import defpackage.nrd; import java.util.ArrayList; import java.util.Iterator; import java.util.Set; import org.apache.commons.httpclient.HttpStatus; /* renamed from: nqv reason: default package */ public final class nqv { public static final String TAG = null; private nqr pTu; private nqz pUA = new nqz(); private nrd pUB = new nrd(); private nsp pUC; private final int pUw = -1; private nsx pUx = new nsx(); private nrb pUy = new nrb(); private nsw pUz = new nsw(); /* access modifiers changed from: package-private */ /* renamed from: nqv$1 reason: invalid class name */ public static /* synthetic */ class AnonymousClass1 { static final /* synthetic */ int[] pSf = new int[nrq.dYL().length]; static { pUH = new int[gp.values().length]; try { pUH[gp.COMMENT.ordinal()] = 1; } catch (NoSuchFieldError e) { } pUG = new int[ojh.values().length]; try { pUG[ojh.Name.ordinal()] = 1; } catch (NoSuchFieldError e2) { } pUF = new int[gc.values().length]; try { pUF[gc.COMMENT.ordinal()] = 1; } catch (NoSuchFieldError e3) { } pUE = new int[aaoo.values().length]; try { pUE[aaoo.MSO_ELEMENT.ordinal()] = 1; } catch (NoSuchFieldError e4) { } try { pUE[aaoo.MSO_COMMENT_REFERENCE.ordinal()] = 2; } catch (NoSuchFieldError e5) { } try { pUE[aaoo.MSO_COMMENT_CONTINUATION.ordinal()] = 3; } catch (NoSuchFieldError e6) { } try { pUE[aaoo.MSO_COMMENT_AUTHOR.ordinal()] = 4; } catch (NoSuchFieldError e7) { } try { pUE[aaoo.MSO_SPECIAL_CHARACTER.ordinal()] = 5; } catch (NoSuchFieldError e8) { } try { pUE[aaoo.MSO_BOOKMARK.ordinal()] = 6; } catch (NoSuchFieldError e9) { } try { pUE[aaoo.MSO_TAB_COUNT.ordinal()] = 7; } catch (NoSuchFieldError e10) { } pUD = new int[oji.values().length]; try { pUD[oji.Div.ordinal()] = 1; } catch (NoSuchFieldError e11) { } try { pUD[oji.Html.ordinal()] = 2; } catch (NoSuchFieldError e12) { } try { pUD[oji.Span.ordinal()] = 3; } catch (NoSuchFieldError e13) { } try { pUD[oji.Style.ordinal()] = 4; } catch (NoSuchFieldError e14) { } try { pUD[oji.P.ordinal()] = 5; } catch (NoSuchFieldError e15) { } try { pUD[oji.H1.ordinal()] = 6; } catch (NoSuchFieldError e16) { } try { pUD[oji.H2.ordinal()] = 7; } catch (NoSuchFieldError e17) { } try { pUD[oji.H3.ordinal()] = 8; } catch (NoSuchFieldError e18) { } try { pUD[oji.H4.ordinal()] = 9; } catch (NoSuchFieldError e19) { } try { pUD[oji.H5.ordinal()] = 10; } catch (NoSuchFieldError e20) { } try { pUD[oji.H6.ordinal()] = 11; } catch (NoSuchFieldError e21) { } try { pUD[oji.Table.ordinal()] = 12; } catch (NoSuchFieldError e22) { } try { pUD[oji.Td.ordinal()] = 13; } catch (NoSuchFieldError e23) { } try { pUD[oji.Tr.ordinal()] = 14; } catch (NoSuchFieldError e24) { } try { pUD[oji.U.ordinal()] = 15; } catch (NoSuchFieldError e25) { } try { pUD[oji.S.ordinal()] = 16; } catch (NoSuchFieldError e26) { } try { pUD[oji.Br.ordinal()] = 17; } catch (NoSuchFieldError e27) { } try { pUD[oji.Thead.ordinal()] = 18; } catch (NoSuchFieldError e28) { } try { pUD[oji.Body.ordinal()] = 19; } catch (NoSuchFieldError e29) { } try { pUD[oji.B.ordinal()] = 20; } catch (NoSuchFieldError e30) { } try { pUD[oji.A.ordinal()] = 21; } catch (NoSuchFieldError e31) { } try { pUD[oji.O_P.ordinal()] = 22; } catch (NoSuchFieldError e32) { } try { pSf[nrq.pWn - 1] = 1; } catch (NoSuchFieldError e33) { } try { pSf[nrq.pWo - 1] = 2; } catch (NoSuchFieldError e34) { } try { pSf[nrq.pWs - 1] = 3; } catch (NoSuchFieldError e35) { } try { pSf[nrq.pWu - 1] = 4; } catch (NoSuchFieldError e36) { } try { pSf[nrq.pWt - 1] = 5; } catch (NoSuchFieldError e37) { } } } public nqv(nqr nqr) { this.pTu = nqr; } private void Te(int i) { this.pTu.dYl().pUj.add(Integer.valueOf(i)); } private void a(nsm nsm) { ew.assertNotNull("startTag should not be null!", nsm); for (ojh ojh : nsm.pVj.btm.keySet()) { String str = nsm.pVj.btm.get(ojh); switch (ojh) { case Name: ew.assertNotNull("name should not be null!", str); nqt dYl = this.pTu.dYl(); ew.assertNotNull("docContext should not be null!", dYl); nqh dYm = this.pTu.dYm(); ew.assertNotNull("importer should not be null!", dYm); dYl.pUq.put(str, Integer.valueOf(dYm.dYh())); ex.assertNull("docContext.mRecentBookmarkName should be null!", dYl.pUp); dYl.pUp = str; break; } } } private static void b(kfz kfz, int i, Object obj) { ew.assertNotNull("curProps should not be null!", kfz); if (!kfz.contains(i)) { kfz.h(i, obj); } } private void b(nsm nsm) { int i; ew.assertNotNull("startTag should not be null!", nsm); Set<aaoo> hcy = nsm.pVj.pUI.hcy(); ew.assertNotNull("keys should not be null!", hcy); Iterator<aaoo> it = hcy.iterator(); int i2 = -1; while (it.hasNext()) { switch (it.next()) { case MSO_COMMENT_REFERENCE: String str = (String) nsm.pVj.pUI.btm.get(aaoo.MSO_COMMENT_REFERENCE); String str2 = (String) nsm.pVj.pUI.btm.get(aaoo.MSO_COMMENT_DATE); ew.assertNotNull("commentReference should not be null!", str); ew.assertNotNull("mContext should not be null!", this.pTu); nqt dYl = this.pTu.dYl(); ew.assertNotNull("docContext should not be null!", dYl); if (!nqs.c(this.pTu)) { i = -1; break; } else { int lastIndexOf = str.lastIndexOf(95); if (-1 != lastIndexOf) { String substring = str.substring(lastIndexOf + 1); String substring2 = str.substring(0, lastIndexOf); Integer E = fk.E(substring); if (E != null) { i = E.intValue(); nqh dYm = this.pTu.dYm(); ew.assertNotNull("importer should not be null!", dYm); ew.assertNotNull("document should not be null!", dYm.dXm()); dYl.pUh.put(Integer.valueOf(i), Integer.valueOf(dYm.dYh())); dYl.pUn.put(Integer.valueOf(i), substring2); dYl.pUk.put(Integer.valueOf(i), str2); break; } else { i = -1; break; } } else { new StringBuilder("invalid data for Comment : ").append(str); ew.eI(); i = -1; break; } } default: i = i2; break; } i2 = i; } Te(i2); } private void b(nsx nsx) { this.pTu.dYm().a(nsx); nsx.recycle(); this.pTu.pTP = null; } private kfz c(nsm nsm) { ew.assertNotNull("startTag should not be null!", nsm); ew.assertNotNull("mContext should not be null!", this.pTu); ew.assertNotNull("mContext.getDocumentContext().sRunPropsStack should not be null!", this.pTu.dYl().pUa); this.pUy.a(nsm.pVj, this.pTu); kfz dYz = this.pTu.dYl().pUa.isEmpty() ? this.pUy.dYz() : this.pUy.v(this.pTu.dYl().pUa.peek()); this.pUy.recycle(); return dYz; } private void dYp() { while (!this.pTu.dYl().pUb.isEmpty()) { b(this.pTu.dYl().pUb.pop()); } } private void dYq() { ew.assertNotNull("mContext should not be null!", this.pTu); nqt dYl = this.pTu.dYl(); ew.assertNotNull("docContext should not be null!", dYl); nqh dYm = this.pTu.dYm(); ew.assertNotNull("importer should not be null!", dYm); for (String str : dYl.pUs.keySet()) { Boolean bool = dYl.pUs.get(str); if (bool != null && bool.booleanValue()) { dYl.pUr.put(str, Integer.valueOf(dYm.dYh())); } } dYl.pUs.clear(); } private boolean dYr() { return this.pTu.dYl().pUc == null && "\f".equals(this.pTu.pTP); } private void dYs() { ew.assertNotNull("mContext should not be null!", this.pTu); nqt dYl = this.pTu.dYl(); ew.assertNotNull("docContext should not be null!", dYl); if (!dYl.pUj.isEmpty()) { Integer pop = dYl.pUj.pop(); if (-1 != pop.intValue()) { nqh dYm = this.pTu.dYm(); ew.assertNotNull("importer should not be null!", dYm); dYl.pUi.put(pop, Integer.valueOf(dYm.dYh())); } } } private void t(kfz kfz) { ew.assertNotNull("propsSet should not be null!", kfz); ew.assertNotNull("mRun should not be null!", this.pUx); ew.assertNotNull("mContext should not be null!", this.pTu); ew.assertNotNull("mContext.mCurPosHolder should not be null!", this.pTu.pTP); ew.assertNotNull("mContext.getSubDocumentImporter() should not be null!", this.pTu.dYm()); if (dYr()) { nsx nsx = new nsx(); nsx.aLh = this.pTu.pTP; nsx.pZA = kfz; this.pTu.dYl().pUb.add(nsx); return; } this.pUx.aLh = this.pTu.pTP; this.pUx.pZA = kfz; b(this.pUx); } private void u(kfz kfz) { this.pTu.dYl().pUa.push(kfz); } public final boolean a(nsp nsp) { nse nse; kfz dYo; kfz kfz = null; boolean z = false; ew.assertNotNull("t should not be null!", nsp); this.pUC = nsp; switch (AnonymousClass1.pSf[nsp.pZm - 1]) { case 1: nsm nsm = (nsm) this.pUC; ew.assertNotNull("startTag should not be null!", nsm); switch (nsm.pZk) { case Div: ew.assertNotNull("startTag should not be null!", nsm); ew.assertNotNull("mContext should not be null!", this.pTu); ew.assertNotNull("startTag.mAttributes should not be null!", nsm.pVj); ew.assertNotNull("startTag.mAttributes.mMap should not be null!", nsm.pVj.btm); ew.assertNotNull("startTag should not be null!", nsm); ew.assertNotNull("startTag.mAttributes should not be null!", nsm.pVj); ew.assertNotNull("startTag.mAttributes.mCssStyle should not be null!", nsm.pVj.pUI); Set<aaoo> hcy = nsm.pVj.pUI.hcy(); ew.assertNotNull("keys should not be null!", hcy); Iterator<aaoo> it = hcy.iterator(); while (it.hasNext()) { switch (it.next()) { case MSO_ELEMENT: gc hcw = nsm.pVj.pUI.hcw(); ew.assertNotNull("type should not be null!", hcw); ew.assertNotNull("startTag should not be null!", nsm); switch (hcw) { case COMMENT: ew.assertNotNull("mContext should not be null!", this.pTu); if (nqs.c(this.pTu)) { this.pTu.pTW = 3; nqt dYl = this.pTu.dYl(); ew.assertNotNull("docContext should not be null!", dYl); dYl.pUg.add(Integer.valueOf(this.pTu.dYm().dYh())); break; } else { this.pTu.pTY = true; continue; } } } } this.pTu.dYl().pUf = nsm.pVj.btm.get(ojh.Align); this.pTu.dYm().dYd(); return true; case Html: this.pTu.pTX = nsm.pVj.toString(); return true; case Span: ew.assertNotNull("startTag should not be null!", nsm); ew.assertNotNull("startTag.mAttributes should not be null!", nsm.pVj); ew.assertNotNull("startTag.mAttributes.mCssStyle should not be null!", nsm.pVj.pUI); Set<aaoo> hcy2 = nsm.pVj.pUI.hcy(); ew.assertNotNull("keys should not be null!", hcy2); Iterator<aaoo> it2 = hcy2.iterator(); int i = -1; while (it2.hasNext()) { switch (it2.next()) { case MSO_COMMENT_CONTINUATION: String str = (String) nsm.pVj.pUI.btm.get(aaoo.MSO_COMMENT_CONTINUATION); ew.assertNotNull("commentContinuation should not be null!", str); ew.assertNotNull("mContext should not be null!", this.pTu); boolean c = nqs.c(this.pTu); int intValue = Integer.valueOf(str).intValue(); if (!c) { intValue = -1; } i = intValue; break; case MSO_COMMENT_AUTHOR: String str2 = (String) nsm.pVj.pUI.btm.get(aaoo.MSO_COMMENT_AUTHOR); ew.assertNotNull("author should not be null!", str2); ew.assertNotNull("mContext should not be null!", this.pTu); ew.eH(); if (nqs.c(this.pTu)) { nqt dYl2 = this.pTu.dYl(); ew.assertNotNull("docContext should not be null!", dYl2); dYl2.pUm.add(str2); break; } else { break; } case MSO_SPECIAL_CHARACTER: gp gpVar = (gp) nsm.pVj.pUI.btm.get(aaoo.MSO_SPECIAL_CHARACTER); ew.assertNotNull("type should not be null!", gpVar); switch (gpVar) { case COMMENT: ew.assertNotNull("mContext should not be null!", this.pTu); nqt dYl3 = this.pTu.dYl(); ew.assertNotNull("docContext should not be null!", dYl3); if (nqs.c(this.pTu)) { dYl3.pUl.add(Integer.valueOf(this.pTu.dYm().dYh())); ew.assertNotNull("mRun should not be null!", this.pUx); kfz kfz2 = new kfz(); kfz2.b(28, true); this.pUx.pZA = kfz2; this.pUx.aLh = "\u0005"; this.pTu.dYm().a(this.pUx); this.pUx.recycle(); } dYl3.pUo = true; continue; } case MSO_BOOKMARK: String str3 = (String) nsm.pVj.pUI.btm.get(aaoo.MSO_BOOKMARK); ew.assertNotNull("name should not be null!", str3); nqt dYl4 = this.pTu.dYl(); ew.assertNotNull("docContext should not be null!", dYl4); dYl4.pUs.put(str3, true); break; case MSO_TAB_COUNT: ew.assertNotNull("mRun should not be null!", this.pUx); ew.assertNotNull("mContext should not be null!", this.pTu); ew.assertNotNull("mContext.getSubDocumentImporter() should not be null!", this.pTu.dYm()); this.pUx.aLh = "\t"; this.pUx.pZA = new kfz(); this.pTu.dYm().a(this.pUx); this.pUx.recycle(); break; } } Te(i); u(c(nsm)); return true; case Style: nsm.pVj.recycle(); return true; case P: case H1: case H2: case H3: case H4: case H5: case H6: ew.assertNotNull("startTag should not be null!", nsm); ew.assertNotNull("mContext.getSubDocumentImporter() should not be null!", this.pTu.dYm()); this.pTu.dYm().dXk(); this.pUA.a(nsm.pVj, this.pTu, nsm.pZk); this.pTu.dYl().pUc = this.pUA.dYz(); this.pUA.recycle(); dYp(); return true; case Table: ew.assertNotNull("startTag should not be null!", nsm); ew.assertNotNull("mContext should not be null!", this.pTu); ew.assertNotNull("mContext.getSubDocumentImporter() should not be null!", this.pTu.dYm()); nrd nrd = this.pUB; nrv nrv = nsm.pVj; nqr nqr = this.pTu; ew.assertNotNull("attributes should not be null!", nrv); ew.assertNotNull("context should not be null!", nqr); nrd.pVj = nrv; nrd.pTu = nqr; nrd.pUJ = new kfz(); nqt dYl5 = this.pTu.dYl(); nrd nrd2 = this.pUB; ew.assertNotNull("mAttributes should not be null!", nrd2.pVj); ew.assertNotNull("mDstProps should not be null!", nrd2.pUJ); ew.assertNotNull("mAttributes.mMap should not be null!", nrd2.pVj.btm); for (ojh ojh : nrd2.pVj.btm.keySet()) { nrd2.pVj.btm.get(ojh); switch (nrd.AnonymousClass1.pUG[ojh.ordinal()]) { case 2: ew.assertNotNull("mDstProps should not be null!", nrd2.pUJ); ew.assertNotNull("mAttributes.mMap should not be null!", nrd2.pVj.btm); String str4 = nrd2.pVj.btm.get(ojh.Dir); if (str4 != null && "RTL".equals(str4)) { nrd2.pUJ.b(343, true); break; } } } ew.assertNotNull("mDstProps should not be null!", nrd2.pUJ); ew.assertNotNull("mContext should not be null!", nrd2.pTu); String str5 = nrd2.pTu.dYl().pUf; nrd2.pTu.dYl().pUf = null; if (str5 == null) { str5 = nrd2.pVj.btm.get(ojh.Align); } if (str5 != null) { nsr Mk = nsr.Mk(str5); if (Mk != null) { switch (nrd.AnonymousClass1.pVz[Mk.ordinal()]) { case 1: nrd2.pUJ.setInt(HttpStatus.SC_SEE_OTHER, 1); break; case 2: nrd2.pUJ.setInt(HttpStatus.SC_SEE_OTHER, 2); break; case 3: nrd2.pUJ.setInt(HttpStatus.SC_SEE_OTHER, 0); break; case 4: nrd2.pUJ.setInt(HttpStatus.SC_SEE_OTHER, 6); break; default: ew.eI(); break; } } } else { nrd2.pUJ.setInt(HttpStatus.SC_SEE_OTHER, 0); } nrd2.dYA(); kfz kfz3 = nrd2.pUJ; dYl5.pUe++; dYl5.pTf.add(new nqu(kfz3)); this.pTu.dYm().b(this.pTu.dYl().pUe, this.pUB.pTm); nrd nrd3 = this.pUB; nrd3.pVj.recycle(); nrd3.pVj = null; nrd3.pTu = null; nrd3.pUJ = null; nrd3.pTm = null; return true; case Td: ew.assertNotNull("startTag should not be null!", nsm); ew.assertNotNull("mContext should not be null!", this.pTu); ew.assertNotNull("mContext.getDocumentContext().mTableContextStack should not be null!", this.pTu.dYl().pTf); ew.assertNotNull("mContext.getSubDocumentImporter() should not be null!", this.pTu.dYm()); nqu peek = this.pTu.dYl().pTf.peek(); ew.assertNotNull("tableContext should not be null!", peek); nsy dZd = nsy.dZd(); dZd.pVj = nsm.pVj; peek.cC.add(dZd); this.pTu.dYm().dYg(); return true; case Tr: ew.assertNotNull("mContext should not be null!", this.pTu); ew.assertNotNull("mContext.mTableContextStack should not be null!", this.pTu.dYl().pTf); nqu peek2 = this.pTu.dYl().pTf.peek(); ew.assertNotNull("tableContext should not be null!", peek2); peek2.cC = new ArrayList<>(); peek2.pUv.pVj = nsm.pVj; nqh dYm = this.pTu.dYm(); ew.assertNotNull("mTableAdjustor should not be null!", dYm.pSo); if (dYm.pSn != null && dYm.pSn.dXZ()) { npo npo = dYm.pSo; ew.assertNotNull("mCurTblInfo should not be null", npo.pSv); npo.pSu = new npr(npo.pSv); npp npp = npo.pSv; npr npr = npo.pSu; ew.assertNotNull("mTrInfo should not be null", npr); npp.pSx.add(npr); } return true; case U: kfz c2 = c(nsm); b(c2, 8, 1); u(c2); return true; case S: kfz c3 = c(nsm); b(c3, 7, 1); u(c3); return true; case Br: ew.assertNotNull("mToken should not be null!", this.pUC); ew.assertNotNull("mContext should not be null!", this.pTu); ew.assertNotNull("mContext.getDocumentContext().sRunPropsStack should not be null!", this.pTu.dYl().pUa); kfz c4 = c(nsm); if (this.pTu.pTO) { this.pTu.pTO = false; nqr nqr2 = this.pTu; if (nqr2.dYn() == 0 && nqr2.dYl().pUe == 0) { z = true; } if (z) { ew.assertNotNull("propsSet should not be null!", c4); ew.assertNotNull("mContext should not be null!", this.pTu); ew.assertNotNull("propsSet should not be null!", c4); if (1 != this.pTu.pTR.size() || this.pTu.pTQ == null) { dYo = this.pTu.dYo(); dYo.a(c4); } else { dYo = new kfz(this.pTu.pTQ); } this.pTu.dYm().s(dYo); break; } } else if ("\u000b" == this.pTu.pTP) { t(c4); break; } else { ew.assertNotNull("propsSet should not be null!", c4); if (this.pTu.dYl().pUe == 0) { z = true; } if (z && this.pTu.pTP != null) { t(c4); } } return true; case Thead: nqu peek3 = this.pTu.dYl().pTf.peek(); ew.assertNotNull("tableContext should not be null!", peek3); peek3.pUu = true; return true; case Body: c(nsm); return true; case B: kfz c5 = c(nsm); c5.b(5, true); u(c5); return true; case A: ew.assertNotNull("startTag should not be null!", nsm); a(nsm); b(nsm); return true; case O_P: ew.assertNotNull("mContext should not be null!", this.pTu); this.pTu.dYl().pUo = true; return true; default: nsm.pVj.recycle(); break; } return true; case 2: ew.assertNotNull("endTag should not be null!", (nse) this.pUC); switch (nse.pZk) { case Div: this.pTu.dYm().dYe(); if (dYr()) { dYp(); } return true; case Html: npb.m(this.pTu.oKR.dDT()); return true; case Span: dYs(); this.pTu.dYl().pUa.pop(); return true; case Style: ew.assertNotNull("mContext.getSubDocumentImporter() should not be null!", this.pTu.dYm()); ew.assertNotNull("mContext should not be null!", this.pTu); new nqq(this.pTu).dYk(); this.pTu.pTT.clear(); this.pTu.pTU.clear(); ew.assertNotNull("mContext.getSubDocumentImporter() should not be null!", this.pTu.dYm()); ew.assertNotNull("mContext should not be null!", this.pTu); if (this.pTu.dYn() == 0) { this.pTu.dYm().b(this.pTu); } return true; case P: case H1: case H2: case H3: case H4: case H5: case H6: ew.assertNotNull("mContext.getSubDocumentImporter() should not be null!", this.pTu.dYm()); ew.assertNotNull("mContext should not be null!", this.pTu); this.pUz.pZA = this.pTu.dYl().pUc; this.pTu.dYm().a(this.pUz); this.pTu.dYl().pUc = null; this.pUz.recycle(); return true; case Table: ew.assertNotNull("mContext should not be null!", this.pTu); ew.assertNotNull("mContext.getSubDocumentImporter() should not be null!", this.pTu.dYm()); nqt dYl6 = this.pTu.dYl(); dYl6.pUe--; dYl6.pTf.pop(); this.pTu.dYm().dYf(); return true; case Td: ew.assertNotNull("mContext should not be null!", this.pTu); ew.assertNotNull("mContext.getSubDocumentImporter() should not be null!", this.pTu.dYm()); nqu peek4 = this.pTu.dYl().pTf.peek(); ew.assertNotNull("tableContext should not be null!", peek4); nsy nsy = peek4.cC.get(peek4.cC.size() - 1); nsy.jmi = this.pTu.dYl().pUe; this.pTu.dYm().a(nsy); return true; case Tr: ew.assertNotNull("mContext.getSubDocumentImporter() should not be null!", this.pTu.dYm()); nqu peek5 = this.pTu.dYl().pTf.peek(); ew.assertNotNull("tableContext should not be null!", peek5); peek5.pUv.cC = peek5.cC; peek5.pUv.jmi = this.pTu.dYl().pUe; peek5.pUv.pZA = peek5.pUt; peek5.pUv.pUu = peek5.pUu; this.pTu.dYm().a(peek5.pUv); return true; case U: case S: case B: this.pTu.dYl().pUa.pop(); return true; case Br: case Body: default: return true; case Thead: nqu peek6 = this.pTu.dYl().pTf.peek(); ew.assertNotNull("tableContext should not be null!", peek6); peek6.pUu = false; return true; case A: ew.assertNotNull("mContext should not be null!", this.pTu); nqt dYl7 = this.pTu.dYl(); ew.assertNotNull("docContext should not be null!", dYl7); if (dYl7.pUp != null) { nqh dYm2 = this.pTu.dYm(); ew.assertNotNull("importer should not be null!", dYm2); dYl7.pUr.put(dYl7.pUp, Integer.valueOf(dYm2.dYh())); dYl7.pUp = null; } dYs(); return true; case O_P: this.pTu.dYl().pUo = false; return true; } case 3: if (!this.pTu.dYl().pUo) { nrx nrx = (nrx) this.pUC; if (nrx.pXX.length() != 0) { this.pUx.aLh = nrx.pXX; this.pUx.pZA = new kfz(kgd.lXR); if (!this.pTu.dYl().pUa.isEmpty()) { nsx nsx = this.pUx; nsx nsx2 = this.pUx; kfz kfz4 = new kfz(this.pTu.dYl().pUa.peek()); nsx2.pZA = kfz4; nsx.pZA = kfz4; } nsx nsx3 = this.pUx; int e = nea.e(cpm.dM(nea.c("en_US", nsx3.aLh.charAt(0)))); nsx3.pZA.setInt(40, e); if (2 == e) { Object sp = nsx3.pZA.sp(5); Object sp2 = nsx3.pZA.sp(38); if (sp != null && sp2 == null) { nsx3.pZA.b(38, Boolean.valueOf(((Boolean) sp).booleanValue())); } Object sp3 = nsx3.pZA.sp(6); Object sp4 = nsx3.pZA.sp(39); if (sp3 != null && sp4 == null) { nsx3.pZA.b(39, Boolean.valueOf(((Boolean) sp3).booleanValue())); } } if (1 == this.pUx.aLh.length() && this.pUx.pZA.contains(20)) { this.pUx.aLh = "("; this.pUx.pZA.setInt(20, this.pUx.aLh.charAt(0) + 61440); } if (mgk.aj(this.pUx.aLh.charAt(0))) { this.pUx.pZA.b(72, true); } this.pTu.dYm().a(this.pUx); this.pUx.recycle(); } return true; } this.pTu.dYl().pUo = false; dYq(); return true; case 4: nsq nsq = (nsq) this.pUC; if (!this.pTu.dYl().pUa.isEmpty()) { kfz = this.pTu.dYl().pUa.peek(); } fj SX = npb.SX(this.pTu.pTW); npj npj = new npj(this.pTu.dYm(), kfz); String sb = nsq.pXY.toString(); ew.assertNotNull("oldStr should not be null!", sb); ew.assertNotNull("mContext should not be null!", this.pTu); StringBuilder sb2 = new StringBuilder(); sb2.append("<!DOCTYPE w50:pict[<!ENTITY nbsp \" \">]>"); sb2.append("<w50:pict xmlns:w50=\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\" "); if (!(this.pTu.pTX == null || this.pTu.pTX.length() == 0)) { sb2.append(this.pTu.pTX); } sb2.append(">"); sb2.append(sb); sb2.append("</w50:pict>"); nwy.a(sb2.toString(), SX, this.pTu.dYm().dXm(), npj, kfz); return true; case 5: nqp.a((nsn) this.pUC, this.pTu); return true; default: return false; } } }